using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;

namespace DAL
{
    public class DataManagerPage<RowType>
        where RowType : DataManagerRow
    {
        public DataManagerPage(int pages, List<RowType> items)
        {
            Items = items;
            Pages = pages;
        }

        private List<RowType> _items;
        public List<RowType> Items
        {
            get
            {
                return _items;
            }
            set
            {
                _items = value;
            }
        }

        private int _pages;
        public int Pages
        {
            get
            {
                return _pages;
            }
            protected set
            {
                _pages = value;
            }
        }
    }
}